import { $http } from '@/utils/http'

class $typicode {
  static async getArticleList (data) {
    return await $http.get(`/typicode/article`, data)
  }
  static async getArticleDetail (id, data) {
    return await $http.get(`/typicode/article/${ id }`, data)
  }
}

export {
  $typicode
}